package com.yyc.order.dataobject;

import lombok.Data;
import org.springframework.data.annotation.Id;

import javax.persistence.Entity;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yyc
 * 订单
 */

@Data
@Entity
public class OrderMaster {
    @Id
    private String orderId;

    private String buyerName;

    private  String buyerPhone;

    private String buyerAddress;

    private String buyerOpenid;

    private BigDecimal orderAmount;

    private Integer orderStatus;

    private Integer payStatus;

    private Date createTime;

    private Date updateTime;

}
